package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.netflix.discovery.converters.Auto;
import com.xmy.cultivate.entity.PickUp;
import com.xmy.cultivate.mapper.PickUpMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xmy.cultivate.service.IPickUpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 家长接送信息 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2023-04-27
 */
@Service
public class PickUpServiceImpl extends ServiceImpl<PickUpMapper, PickUp> implements IPickUpService {

    @Autowired
    PickUpMapper pickUpMapper;

    public IPage<PickUp> sumPickUp(IPage<PickUp> iPage, QueryWrapper queryWrapper){
        return pickUpMapper.sumPickUp(iPage,queryWrapper);
    }
}
